package com.yunyi.dm.adapt.obj;

public class SDApdaptTFCard implements SDCard {
    private TFCard tfCard;

    public SDApdaptTFCard(TFCard tfCard) {
        this.tfCard = tfCard;
    }

    @Override
    public String readSD() {
        System.out.println("适配器读取TF");
        return tfCard.readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("适配器写入TF");
        tfCard.readTF();
    }
}
